library _;

import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter_app/Const/IFinal.dart';
import 'package:flutter_app/Model/Enums.dart';
import 'package:flutter_app/Model/UserModel.dart';
import 'package:flutter_app/Model/MineModel.dart';
import 'package:flutter_app/Util/App/AppUtils.dart';
import 'package:flutter_app/View/MyLoader.dart';
import 'package:flutter_yfree/YFree.dart';
import 'package:sharesdk_plugin/sharesdk_plugin.dart';

part 'controller.dart';
part 'view.dart';

class BindPage extends YPage {
  BindStatusModel? model;

  @override
  void yOnCreate() {
    controller_initData();
  }

  @override
  Widget yBuild(BuildContext context) {
    return Container(
      color: IFinal.Colors.pageBG,
      child: Column(
        children: [
          YAppBar(title: "账号绑定"),
          Expanded(
            child: model == null
                ? MyLoader()
                : Column(
                    children: [
                      view_phone(),
                      Divider(height: 1),
                      view_third(),
                    ],
                  ),
          ),
        ],
      ),
    );
  }
}
